package com.lwm.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author liweimin
 * @date 2021/6/19 9:41
 * @since
 */
@Controller("hello")
public class HelloController {
    @RequestMapping("/hello")
    public String sayHelloWorld() {
        System.out.println("Hello World");
        return "Hello World";
    }
}
